package com.zou.music_downloader.utils;

import java.text.SimpleDateFormat;

/**
 * 时间转换
 * Created by zou on 2016/3/16.
 */
public class TimeFormatter {
    public static String cast(long millis) {

        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yy-MM-dd HH:mm");

        String result = simpleDateFormat.format(millis);

        return result;
    }
}
